<%--
  Created by IntelliJ IDEA.
  User: 12460
  Date: 2024/11/30
  Time: 14:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        //分别在page和request域中存入一个值
        request.setAttribute("requestMsg","hello request!");
        pageContext.setAttribute("pageContextMsg","hello pageContext!");
        //转发到另一个jsp
        request.getRequestDispatcher("/demo05.jsp").forward(request, response);
    %>
</body>
</html>
